<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<!-- 导航 -->
<nav class="navbar navbar-default navbar-static-top" role="navigation"
	style="margin-bottom: 0; background-color: rgba(70, 76, 91, 0.8);">
	<!-- 左侧Logo及功能 -->
	<div class="navbar-header">
		<!-- 窗口变窄时出现的控制菜单栏显示隐藏的按钮 -->
		<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
			<span class="sr-only">显示/隐藏菜单栏</span> 
			<span class="icon-bar"></span>
			<span class="icon-bar"></span> 
			<span class="icon-bar"></span>
		</button>
		<!-- 左侧平台Logo -->
		<span class="navbar-brand-img">
			<a href="${BASE_PATH}/index">
				<img src="${BASE_PATH}/static/images/logo.png" />
			</a></span> 
		<span class="navbar-brand">亿拼惠商户平台</span>
	</div>

	<!-- 右侧功能 -->
	<ul class="nav navbar-top-links navbar-right">

		<li><a><i class="fa fa-clock-o fa-fw"></i> <span id="clock"></span></a></li>
		<li><a href="#"><i class="fa fa-user fa-fw"></i> <shiro:principal
					property="trueName" /></a><!-- </i> -->
		<li><a href="javascript:toEditMinePwd();"><i class="fa fa-key fa-fw"></i> 修改密码</a></li>
		<li><a href="<c:url value="/logout"/>"><i
				class="fa fa-sign-out fa-fw"></i> 退出</a></li>
	</ul>
</nav>
<script type="text/javascript">
	var editMinePwdDialog;
	function toEditMinePwd(id) {
		editMinePwdDialog = Kit.dialog("修改密码", "${BASE_PATH}/toEditMinePwd")
				.open();
	}
	<!--
	//时钟
	setInterval(function() {
		$('#clock').html("当前时间：" + Kit.curentTime());
	}, 1000);
//-->
</script>
<jsp:include page="../include/nav-menu.jsp"></jsp:include>